﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kugar.Core.WinForm.ExtMethod
{


    //public static class FormExt
    //{
    //    [System.Runtime.InteropServices.DllImport("user32.dll")]
    //    public static extern IntPtr SetActiveWindow(IntPtr hwnd);//设置活动窗体


    //    public static void Active(this System.Windows.Forms.Form frm)
    //    {
    //        var handle = frm.Handle;

    //        SetActiveWindow(handle);
    //    }
    //}
}
